package com.cheetah.protocol;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author Administrator
 * @Date 2019/7/25
 * @Version V1.0
 * @Description:
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Response<T> {

    private ResponseHeader responseHeader;

    private boolean success;

    private int errorCode = 0;

    private String errorMsg;

    private T data;

}
